#ifndef POINTDRAWER_H
#define POINTDRAWER_H

#include <QFrame>
#include <QWidget>
#include <QtGui>

namespace Ui {
    class PointDrawer;
}

class PointDrawer : public QFrame
{
    Q_OBJECT

public:
    PointDrawer(QWidget *parent = 0): QWidget(parent) {}
        virtual void paintEvent(QPaintEvent *) {
            QPainter painter(this);
            painter.setPen(Qt::blue);
            painter.setFont(QFont("Arial", 30));
            painter.drawText(rect(), Qt::AlignCenter, "Qt");


        }

    ~PointDrawer();

private:
    Ui::PointDrawer *ui;
};

#endif // POINTDRAWER_H
